
using AutoMapper;
using Yozeev.SystemConfig.BasicConfig;
using Yozeev.SystemConfig.BasicConfig.Dtos;

namespace Yozeev.SystemConfig.BasicConfig.Mapper
{

	/// <summary>
    /// 配置PayMethod的AutoMapper
    /// </summary>
	internal static class PayMethodMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <PayMethod,PayMethodListDto>();
            configuration.CreateMap <PayMethodListDto,PayMethod>();

            configuration.CreateMap <PayMethodEditDto,PayMethod>();
            configuration.CreateMap <PayMethod,PayMethodEditDto>();

        }
	}
}
